<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
    </el-row>
    <el-row :gutter="10">
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
      <el-col :span="6"><div class="grid-content bg-purple">
        <el-card shadow="hover">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
          <br>
          <el-button type="primary" style="display:block;margin:0 auto;width: 270px">选择</el-button>
          <div style="padding: 14px;">
            <span>商品名称</span>
            <div class="bottom clearfix">
              <span>商品说明</span>
              <el-rate
                v-model="value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
              </el-rate>
            </div>
          </div>
        </el-card>
      </div></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "buy",
  data() {
    return {
      value: 3.7
    };
  }
}
</script>

<style scoped>
.bottom {
  margin-top: 13px;
  line-height: 12px;
}

.button {
  padding: 0;
  float: right;
}

.image {
  width: 70%;
  display: block;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both
}
</style>
